package cn.lyjuan.payment.third.base.pay.vo.res;

public class BaseRes
{
    /**
     * 是否执行成功
     */
    protected boolean isSucc;

    /**
     * 描述信息，用于查证错误
     */
    protected String msg;

    public BaseRes()
    {
        this.isSucc = true;
    }

    public BaseRes(boolean isSucc)
    {
        this.isSucc = isSucc;
    }

    public BaseRes(boolean isSucc, String msg)
    {
        this.isSucc = isSucc;
        this.msg = msg;
    }

    public boolean isSucc()
    {
        return isSucc;
    }

    public void setSucc(boolean succ)
    {
        this.isSucc = succ;
    }

    public String getMsg()
    {
        return msg;
    }

    public void setMsg(String msg)
    {
        this.msg = msg;
    }

    @Override
    public String toString()
    {
        return "BaseRes{" +
                "isSucc=" + isSucc +
                ", msg='" + msg + '\'' +
                '}';
    }
}
